package com.hsylient.javase.draftpaper;

import cn.hutool.http.HttpUtil;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;

@Slf4j
public class ProxyTest {

    @Test
    public void testAccessGoogle() {
        assessGoogle();
    }

    public void assessGoogle() {
        String response = HttpUtil.get("https://github.com");
        log.info("[测试IDEA网络] {}", response);
    }
}
